package com.one.blocks.rbac.controller.vo;

import com.one.blocks.rbac.controller.vo.tree.SysMenuTreeNodeVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

/**
 * @author <a href="mailto:idler41@163.com">linfuxin</a> created by 2022-05-01 15:04:44
 */
@Data
public class SysUserLoginVo implements Serializable {

    @ApiModelProperty(value = "用户昵称")
    private String nickName;
    @ApiModelProperty(value = "用户头像")
    private String avatar;
    @ApiModelProperty(value = "用户权限")
    private Set<String> permissions;
    @ApiModelProperty(value = "可查看目录树")
    private List<SysMenuTreeNodeVo> menus;
}
